package com.borrow.service.client.impl;

import com.borrow.service.client.BookClient;
import com.commons.entity.Book;
import org.springframework.stereotype.Component;

@Component
public class BookFallbackClient implements BookClient {
    @Override
    public Book apiFindBookById(Integer bid) {
        Book book = new Book();
        book.setTitle("补救措施书籍");
        return book;
    }
}
